{% load ratings %}
<div style="position: relative; display: inline-block">
  <a href="/assets/{{ asset.id }}/" title="{{ asset.subName }}" > 
    <img class="model_preview small" src="/api/assets/{{ asset.id }}/transcode/?format=image/png&sizex=128&sizey=128" />
  </a>
  {% if asset.avg_rating > 0 %}
    <div class="sound_stars" style="position:absolute; top: 2px; right:4px;">
       <ul class="star-rating">
           <li class="current-rating" style="width:{{asset.rating_percent}}%;">Currently {{asset.avg_rating}}/5 Stars.</li>
       </ul>
    </div>
  {% endif %}
</div>
